package com.dragon.modules.yuegou.entity.company;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 实体类<br>
 * 对应的表为：comp_company<br>
 * 
 * @author pbuilder generated
 * @date 2019-03-18 17:11:41
 * @company sgy
 * @version 2.0
 */
@TableName("comp_company")
public class CompanyEntity {

    /**  */
	protected String id;

    /**  */
	protected String busdId;

    /** 父id */
	@ApiModelProperty("父id")
	protected String parentId;

    /** 企业名称 */
	@ApiModelProperty("企业名称")
	protected String name;

    /** 纳税人识别号 */
	@ApiModelProperty("纳税人识别号")
	protected String taxpayerIdentificationNumber;

    /**  */
	protected String contactName;

    /**  */
	protected String contactMobile;

    /**  */
	protected String contactAddress;

    /**  */
	protected String remarks;

    /**  */
	protected String status;

    /**  */
	protected LocalDateTime createdTime;

    /**  */
	protected String createdBy;

    /**  */
	protected String modifiedBy;

    /**  */
	protected LocalDateTime modifiedTime;

    /** 逻辑删除，1表示已删除,0表示未删除 */
	@ApiModelProperty("逻辑删除，1表示已删除,0表示未删除")
	protected Boolean del;

    /**  */
	protected String delBy;

    /**  */
	protected LocalDateTime delTime;

	/**
	 * 构造一个空实体对象
	 */
	public CompanyEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个实体对象
	 * 
	 * @param other 其它对象
	 */
	public CompanyEntity(CompanyEntity other){
		super();
     	this.id = other.id;
     	this.busdId = other.busdId;
     	this.parentId = other.parentId;
     	this.name = other.name;
     	this.taxpayerIdentificationNumber = other.taxpayerIdentificationNumber;
     	this.contactName = other.contactName;
     	this.contactMobile = other.contactMobile;
     	this.contactAddress = other.contactAddress;
     	this.remarks = other.remarks;
     	this.status = other.status;
     	this.createdTime = other.createdTime;
     	this.createdBy = other.createdBy;
     	this.modifiedBy = other.modifiedBy;
     	this.modifiedTime = other.modifiedTime;
     	this.del = other.del;
     	this.delBy = other.delBy;
     	this.delTime = other.delTime;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取
	 * 
	 * @return busdId 
	 */
	public String getBusdId() {
		return busdId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param busdId 
	 */
	public void setBusdId(String busdId) {
		this.busdId = busdId;
	}

	/**
	 * 获取父id
	 * 
	 * @return parentId 父id
	 */
	public String getParentId() {
		return parentId;
	}
  	
	/**
	 * 设置父id
	 * 
	 * @param parentId 父id
	 */
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	/**
	 * 获取企业名称
	 * 
	 * @return name 企业名称
	 */
	public String getName() {
		return name;
	}
  	
	/**
	 * 设置企业名称
	 * 
	 * @param name 企业名称
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取纳税人识别号
	 * 
	 * @return taxpayerIdentificationNumber 纳税人识别号
	 */
	public String getTaxpayerIdentificationNumber() {
		return taxpayerIdentificationNumber;
	}
  	
	/**
	 * 设置纳税人识别号
	 * 
	 * @param taxpayerIdentificationNumber 纳税人识别号
	 */
	public void setTaxpayerIdentificationNumber(String taxpayerIdentificationNumber) {
		this.taxpayerIdentificationNumber = taxpayerIdentificationNumber;
	}

	/**
	 * 获取
	 * 
	 * @return contactName 
	 */
	public String getContactName() {
		return contactName;
	}
  	
	/**
	 * 设置
	 * 
	 * @param contactName 
	 */
	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	/**
	 * 获取
	 * 
	 * @return contactMobile 
	 */
	public String getContactMobile() {
		return contactMobile;
	}
  	
	/**
	 * 设置
	 * 
	 * @param contactMobile 
	 */
	public void setContactMobile(String contactMobile) {
		this.contactMobile = contactMobile;
	}

	/**
	 * 获取
	 * 
	 * @return contactAddress 
	 */
	public String getContactAddress() {
		return contactAddress;
	}
  	
	/**
	 * 设置
	 * 
	 * @param contactAddress 
	 */
	public void setContactAddress(String contactAddress) {
		this.contactAddress = contactAddress;
	}

	/**
	 * 获取
	 * 
	 * @return remarks 
	 */
	public String getRemarks() {
		return remarks;
	}
  	
	/**
	 * 设置
	 * 
	 * @param remarks 
	 */
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	/**
	 * 获取
	 * 
	 * @return status 
	 */
	public String getStatus() {
		return status;
	}
  	
	/**
	 * 设置
	 * 
	 * @param status 
	 */
	public void setStatus(String status) {
		this.status = status;
	}

	/**
	 * 获取
	 * 
	 * @return createdTime 
	 */
	public LocalDateTime getCreatedTime() {
		return createdTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdTime 
	 */
	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * 获取
	 * 
	 * @return createdBy 
	 */
	public String getCreatedBy() {
		return createdBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param createdBy 
	 */
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedBy 
	 */
	public String getModifiedBy() {
		return modifiedBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedBy 
	 */
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	/**
	 * 获取
	 * 
	 * @return modifiedTime 
	 */
	public LocalDateTime getModifiedTime() {
		return modifiedTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param modifiedTime 
	 */
	public void setModifiedTime(LocalDateTime modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	/**
	 * 获取逻辑删除，1表示已删除,0表示未删除
	 * 
	 * @return del 逻辑删除，1表示已删除,0表示未删除
	 */
	public Boolean getDel() {
		return del;
	}
  	
	/**
	 * 设置逻辑删除，1表示已删除,0表示未删除
	 * 
	 * @param del 逻辑删除，1表示已删除,0表示未删除
	 */
	public void setDel(Boolean del) {
		this.del = del;
	}

	/**
	 * 获取
	 * 
	 * @return delBy 
	 */
	public String getDelBy() {
		return delBy;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delBy 
	 */
	public void setDelBy(String delBy) {
		this.delBy = delBy;
	}

	/**
	 * 获取
	 * 
	 * @return delTime 
	 */
	public LocalDateTime getDelTime() {
		return delTime;
	}
  	
	/**
	 * 设置
	 * 
	 * @param delTime 
	 */
	public void setDelTime(LocalDateTime delTime) {
		this.delTime = delTime;
	}

    public String toString() {
		return new StringBuilder().append("CompanyEntity{").
			append("id=").append(id).
			append(",busdId=").append(busdId).
			append(",parentId=").append(parentId).
			append(",name=").append(name).
			append(",taxpayerIdentificationNumber=").append(taxpayerIdentificationNumber).
			append(",contactName=").append(contactName).
			append(",contactMobile=").append(contactMobile).
			append(",contactAddress=").append(contactAddress).
			append(",remarks=").append(remarks).
			append(",status=").append(status).
			append(",createdTime=").append(createdTime).
			append(",createdBy=").append(createdBy).
			append(",modifiedBy=").append(modifiedBy).
			append(",modifiedTime=").append(modifiedTime).
			append(",del=").append(del).
			append(",delBy=").append(delBy).
			append(",delTime=").append(delTime).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public CompanyEntity copy() {
		return new CompanyEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /**  */
	public static final String COL_BUSD_ID = "busd_id";

    /** 父id */
	public static final String COL_PARENT_ID = "parent_id";

    /** 企业名称 */
	public static final String COL_NAME = "name";

    /** 纳税人识别号 */
	public static final String COL_TAXPAYER_IDENTIFICATION_NUMBER = "taxpayer_identification_number";

    /**  */
	public static final String COL_CONTACT_NAME = "contact_name";

    /**  */
	public static final String COL_CONTACT_MOBILE = "contact_mobile";

    /**  */
	public static final String COL_CONTACT_ADDRESS = "contact_address";

    /**  */
	public static final String COL_REMARKS = "remarks";

    /**  */
	public static final String COL_STATUS = "status";

    /**  */
	public static final String COL_CREATED_TIME = "created_time";

    /**  */
	public static final String COL_CREATED_BY = "created_by";

    /**  */
	public static final String COL_MODIFIED_BY = "modified_by";

    /**  */
	public static final String COL_MODIFIED_TIME = "modified_time";

    /** 逻辑删除，1表示已删除,0表示未删除 */
	public static final String COL_DEL = "del";

    /**  */
	public static final String COL_DEL_BY = "del_by";

    /**  */
	public static final String COL_DEL_TIME = "del_time";
}
